Rudimentary support for vc-pull and vc-merge in Git and Mercurial.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 29 Jan 2011 03:12:32 +0000 (22:12 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 29 Jan 2011 03:12:32 +0000 (22:12 -0500)
commitb7c0c02bcc2effd30f416f7f55be86cfae25bf3d
tree36e9c4f04d88c84d79bf6f33274e35277076d86c
parent290c4e5b004cc0047a58701996c7018336dd66d1
Rudimentary support for vc-pull and vc-merge in Git and Mercurial.

* lisp/vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
the other way around.

* lisp/vc/vc-git.el (vc-git-branches, vc-git-pull)
(vc-git-merge-branch): New functions.
(vc-git-history): New var.

* lisp/vc/vc-hg.el (vc-hg-history): New var.
(vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
(vc-hg-merge-branch): New function.
etc/NEWS
lisp/ChangeLog
lisp/vc/vc-dispatcher.el
lisp/vc/vc-git.el
lisp/vc/vc-hg.el
lisp/vc/vc.el